package org.coding.springbootdemocommandline.beandepen;

/**
 * @author guoxuehe
 * @date 2021/1/26 16:35
 * @desc
 **/
public class BeanA {
    private BeanB beanB;

    public BeanB getBeanB() {
        return beanB;
    }

    public void setBeanB(BeanB beanB) {
        this.beanB = beanB;
    }

    public void execute(){
        System.out.println(beanB.toString());
    }
}
